package com.cancer.biz.common.exception;

/**
 * @Company GeekPlus
 * @Project beetle
 * @since 1.0.0
 * @Author  xiyunfeng
 * @Date    2015年10月10日 上午10:21:28
 * @Description 需检测系统异常类 
 */
public class CheckedSystemException extends Exception {
  
    private static final long serialVersionUID = -5240804547040880873L;
    
    /**
     * 异常代码
     */
    private String code;

	public CheckedSystemException() {
		super();
	}

	public CheckedSystemException(String message) {
		super(message);
	}

	public CheckedSystemException(String code, String message) {
		super(message);
		this.code = code;
	}

	public CheckedSystemException(Throwable cause) {
		super(cause);
	}

	public CheckedSystemException(String message, Throwable cause) {
		super(message, cause);
	}

	public CheckedSystemException(String code, String message, Throwable cause) {
		super(message, cause);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
